package com.demo.decorator;

/**
 * @Author likz
 * @Date 2025/7/24 14:01
 * @Description
 **/
public class FriedRice extends FastFood{
    public FriedRice() {
        super(10, "炒饭");
    }

    public float cost() {
        return getPrice();
    }
}
